Skip to content

Sync Boatstack from Intelligence Flow Labs @ 2364eaedaefb - #130

Merged
operator-stack-publisher[bot] merged 1 commit into
mainfrom
sync/intelligence-flow-2364eaedaefb
Jul 27, 2026
Merged

Sync Boatstack from Intelligence Flow Labs @ 2364eaedaefb#130
operator-stack-publisher[bot] merged 1 commit into
mainfrom
sync/intelligence-flow-2364eaedaefb

Conversation

@operator-stack-publisher

Copy link
Copy Markdown
Contributor

What this sync releases

Migrations are graded by running them, not by reading them

The guard treats a committed migration as data. A migration file, however destructive its SQL looks,
does not change any database by sitting in a diff; the deploy pipeline applies it later. So the guard
allows it, which is why committing a migration no longer blocks work. The open question was how to catch
a migration that is genuinely unsafe, since its text alone cannot tell you.

This release adds effect grading. A project can declare how its migrations are applied and verified. The
grader runs those commands against a fresh, disposable database, then reads the result: the migration
passes only if it applies and the verification holds, and fails otherwise. The database is provisioned
per run and torn down after, so the effect is real but contained. A project that declares no such
commands is unaffected — grading is skipped.

This puts the judgment where it belongs. The static guard never guesses a migration's effect from its
text; the effect is observed by executing it in a sandbox, the same way the deploy pipeline would. A
safe forward change grades clean, and a change that drops a populated table is caught — the exact case
the text-only guard cannot and should not decide.

Projection provenance

Generated from operatorstack/intelligence-flow@2364eaedaefbe73d8996108dfac261c38b0ce2b3.
Review provenance, tests, and examples before merging.

@operator-stack-publisher
operator-stack-publisher Bot merged commit dd69ee4 into main Jul 27, 2026
9 checks passed
@operator-stack-publisher
operator-stack-publisher Bot deleted the sync/intelligence-flow-2364eaedaefb branch July 27, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants